package com.cold.legendary.bprocess.context.def;

import com.cold.legendary.bprocess.context.enums.CallWayEnum;
import com.cold.legendary.bprocess.context.enums.PointTagEnum;
import com.cold.legendary.bprocess.definition.point.BPointService;
import lombok.Builder;
import lombok.Data;

/**
 * @author cold
 * @since 2023/3/10
 */
@Data
@Builder
public class BPointDef {
    /**
     * 单元id
     */
    private String pointId;
    /**
     * 名称
     */
    private String pointName;
    /**
     * 调用方式
     */
    private CallWayEnum callWayEnum;
    /**
     * 节点service
     */
    private BPointService bPointService;
    /**
     * 节点标记(用于内部逻辑判断和处理)
     */
    private PointTagEnum pointTagEnum;
    /**
     * 允许跳转的节点
     */
    private String allowJumpPointId;
}
